package com.augurit.gzcgwsp.ywcmn.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "YW_COM_YSGS")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwComYsgs implements java.io.Serializable {
	
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_COM_YSGS", sequenceName="SEQ_YW_COM_YSGS", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_COM_YSGS")
	private Long id;
	private String ysgs;
	private String ysgsLxr;
	private String ysgsLxrLxdh;
	private String templateCode;
	private Date sqrq;
	private Date updateDate;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getYsgs() {
		return ysgs;
	}
	public void setYsgs(String ysgs) {
		this.ysgs = ysgs;
	}
	public String getYsgsLxr() {
		return ysgsLxr;
	}
	public void setYsgsLxr(String ysgsLxr) {
		this.ysgsLxr = ysgsLxr;
	}
	public String getYsgsLxrLxdh() {
		return ysgsLxrLxdh;
	}
	public void setYsgsLxrLxdh(String ysgsLxrLxdh) {
		this.ysgsLxrLxdh = ysgsLxrLxdh;
	}	
	public String getTemplateCode() {
		return templateCode;
	}
	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}
	public Date getSqrq() {
		return sqrq;
	}
	public void setSqrq(Date sqrq) {
		this.sqrq = sqrq;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	
}
